//
//  SY_StuFormCustomCell.m
//  FaceRecognition
//
//  Created by syun on 2017/10/26.
//  Copyright © 2017年 Sylar. All rights reserved.
//

#import "SY_StuFormCustomCell.h"

@implementation SY_StuFormCustomCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        _timeLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, SCREENWIDTH/2, 44)];
        _numAndState = [[UILabel alloc]initWithFrame:CGRectMake(SCREENWIDTH/2, 0, SCREENWIDTH/2, 44)];
        _timeLabel.textAlignment = NSTextAlignmentCenter;
        _numAndState.textAlignment = NSTextAlignmentCenter;
        
        [self.contentView addSubview:_timeLabel];
        [self.contentView addSubview:_numAndState];
        
        UIView * line = [[UIView alloc]initWithFrame:CGRectMake(12, 38.5, SCREENWIDTH-12, 0.5)];
        line.backgroundColor = [UIColor colorWithHexString:@"dedede"];
        [self.contentView addSubview:line];
        
    }
    return self;
    
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
